Result: fail
Detail | Value |
---|---|
Returncode | 1 |
Time | 0:00:00.239152 |
Stdout |
Output v.a element 0: expected 1.000000, got -107374176.000000 Vertex shader: #version 150 #define DECLARE_VARYING(DIR, TYPE, NAME) DIR Blk { flat TYPE NAME; } blk #define VARYING(NAME) blk.NAME struct S { float a; vec4 b; mat3 c; ivec2 d; uvec3 e; }; in vec4 pos; DECLARE_VARYING(out, S, v); void main() { gl_Position = pos; VARYING(v).a = 1.0; VARYING(v).b = vec4(2.0, 3.0, 4.0, 5.0); VARYING(v).c = mat3(6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0, 13.0, 14.0); VARYING(v).d = ivec2(15, 16); VARYING(v).e = uvec3(17, 18, 19); } Fragment shader: #version 150 #define DECLARE_VARYING(DIR, TYPE, NAME) DIR Blk { flat TYPE NAME; } blk #define VARYING(NAME) blk.NAME struct S { float a; vec4 b; mat3 c; ivec2 d; uvec3 e; }; DECLARE_VARYING(in, S, v); out vec4 color; void main() { bool pass = true; if (VARYING(v).a != 1.0) pass = false; if (VARYING(v).b != vec4(2.0, 3.0, 4.0, 5.0)) pass = false; if (VARYING(v).c != mat3(6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0, 13.0, 14.0)) pass = false; if (VARYING(v).d != ivec2(15, 16)) pass = false; if (VARYING(v).e != uvec3(17, 18, 19)) pass = false; if (pass) color = vec4(0.0, 1.0, 0.0, 1.0); else color = vec4(1.0, 0.0, 0.0, 1.0); } |
Stderr |
SWR detected AVX2 vert shader 0x7f231ecdf000 frag shader 0x7f231ecdd000 so shader 0x7f231ecdb000 fetch shader 0x7f231ecd9000 SWR destroy screen! |
Environment |
PIGLIT_SOURCE_DIR="/home/ilia/src/piglit" PIGLIT_PLATFORM="mixed_glx_egl" |
Command | /home/ilia/src/piglit/bin/ext_transform_feedback-structs basic-struct run-no-fs interface -auto -fbo |
dmesg |